home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ccdl150l.zip
/
COMPLIB
/
68K
/
68DIVS.SRC
next >
Wrap
Text File
|
1996-12-14
|
255b
|
24 lines
section code
XDEF __divs
xref lludiv
__divs:
move.l (8,A7),D1
move.l D1,D2
bpl.b n1
neg.l d1
n1:
move.l (4,A7),D0
eor.l D0,D2
or.l d0,d0
bpl.b n2
neg.l d0
n2:
bsr lludiv
btst.l #31,D2
beq.b ret
neg.l d0
ret:
rts